<?php
	include(ROOTPATH .'include'. DS .'protect.php');
	include(ROOTPATH .'include'. DS .'checkUserLogin.php');	
	include "header.php";
?>
<?php /*?><script type="text/javascript" src="<?php echo JSLAB_PATH;?>beautyStyle/js/beautyStyle.js"></script>
<link href="<?php echo JSLAB_PATH;?>beautyStyle/images/beautyStyle.css" type="text/css" rel="stylesheet" media="all" /><?php */?>
<script type="text/javascript" src="<?php echo JS_PATH;?>favorites.js"></script>
</head>
<body>
<?php require('top.php'); ?>
<div class="pos">	
    <div class="contents">
    	<?php require('nav.php'); ?>   
        <h2 class="title"><?php echo $navigation -> getList();?></h2>
        <div id="favoritesList" class="mediaList">
           
                <?php 
					$favorites = new favorites();
					echo $favorites -> getList($user -> id());
				?>          
        </div>
        <div class="pages">
        <?php echo getPages($page , $total  , getPageFileUrl('option=list&id='. $tagsUrl,true) ,  MEDIA_PAGESIZE , MEDIA_PAGELISTSIZE ); ?>
        </div>
    </div><!-- .contents-->
</div>

<?php require('footer.php'); ?>

</body>
</html>
